package hottargui.domain.alpha;

import hottargui.domain.*;

public class AlphaEndRoundStrategyImpl implements EndRoundStrategy {

	private StateMachine _sm;

	public AlphaEndRoundStrategyImpl(StateMachine sm){
		_sm = sm;
	}

	public State calculateEndOfRound() {
		if (_sm.getCurrentColor() == PlayerColor.Yellow)
			return(State.endRound);
		else
			return(State.endTurn);
	}


	public void setDeckOfCards(DeckOfCards deck) {

	}


	public boolean diceRollAllowed() {
		return false;
	}

	public void doUpdateDeck(DeckOfCards deck) {

	}

}
